* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

.home {
    width: 100%;
    min-width: 1200px;
}

/* 轮播图 */
.carousel {
    width: 100%;
    width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    background: #fff;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    user-select: none;
    pointer-events: none;
}

.carousel-slide img {
    width: 100%;
    display: block;
    height: 520px;
    object-fit: cover;
}

#carousel2 .carousel-slide img {
    height: 293px;
    border-radius: 8px;
}

.carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.carousel-indicator.active {
    background: #2ecc71;
}

/* 克隆元素 */

.nav {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    width: 1200px;
    display: flex;
    align-items: center;
}

.nav>.logo>img {
    width: 121px;
    height: 75px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-list {
    display: flex;
    margin-left: 160px;
    padding: 24px 0;
    color: #fff;
    font-size: 16px;
}

.nav-list>li {
    position: relative;
    margin-right: 48px;
    cursor: pointer;
}

.nav-list>li::after {
    content: '';
    position: absolute;
    top: 6px;
    right: -24px;
    width: 1px;
    height: 16px;
    background-color: #fff;
}

.nav-list>li:last-child::after {
    display: none;
}

.login{
    margin-left: auto;
    color: #fff;
    cursor: pointer;
    text-decoration: underline;
}

.container1 {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 0 0;
    text-align: center;
}

.title-big {
    font-weight: bold;
    font-size: 36px;
    color: #111;
}

.title-small {
    font-size: 14px;
    color: #999;
    padding-top: 10px;
}

.container2 {
    position: relative;
    width: 1200px;
    margin: 8px auto 0;
    text-align: center;
    background: url() no-repeat center;
    background-size: 100% 18px;
}

/* .container2::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    border: 1px dashed #e5e5e5;
} */


.container2 > .total{
    line-height: 46px;
    font-size: 40px;
    font-weight: bold;
    color: #2ecc71;
}

.container2 > .total > span{
    font-size: 24px;
}

.now-buy{
    text-align: center;

}
.now-buy > .now-btn{
    cursor: pointer;
    border: 1px solid #DFDFDF;
    border-radius: 60px;
    display: inline-block;
    padding: 20px 70px 20px 64px;
    margin: 20px auto 39px;
    font-size: 16px;
    font-weight: bold;
    color: #2ecc71;
    background: url() no-repeat center right 55px;
    background-size: 8px 10px;
}

.team{
    padding-top: 84px;
    width: 100%;
    text-align: center;
    background: #f4f6f7;

}
.team-container{
    margin: auto;
    width: 1200px;
}

.team-container > .list{
    display: flex;
    padding: 35px 0 70px;
}

.team-container > .list > .list-item{
    width: 25%;
    text-align: center;
}

.team-container > .list img{
    width: 105px;
    height: 105px;
    border-radius: 105px;
}

.nd-container{
    position: relative;
    margin: auto;
    padding: 84px 0 48px;
    width: 1200px;
    text-align: center;
}

.nd-carousel{
    padding: 73px 0 0;
    overflow: hidden;
}


#carouselIndicators2{
    bottom: 0;
}

.list-area{
    width: 1200px;
    margin: 36px auto;
    display: grid;
    grid-gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 20px;
}

.list-area > .item{
    border: 1px solid #ccc;
    overflow: hidden;
    border-radius: 8px;
}

.list-area .header{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    color: #fff;
    background-color: #2ecc71;
    box-sizing: border-box;
}

.list-area .header > .title{
    font-weight: bold;
    font-size: 18px;
}

.list-area .header > .more{
    cursor: pointer;
}

/* 3*2列表 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
}

.grid-item {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-image {
    width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
}

.product-name {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-description {
    display: none;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.product-price {
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2em;
}

.new-describe{
    margin-bottom: 40px;
}

footer{
    width: 100%;
    border-top: 8px solid #ff483c;
}

.footer-container{
    width: 1200px;
    min-height: 150px;
    margin: auto;
    display: flex;
    align-items: center;
}

.footer-container > .logo > img{
    width: 136px;
    height: 75px;
}

.footer-container > .des{
    margin-left: 100px;
    font-size: 26px;
    color: #111111;
}

.footer-container > .right{
    margin-left: auto;
}

.footer-container > .right > img{
    width: 360px;
}